#include "custompixmap.h"
#include <QDebug>

CustomPixmap::CustomPixmap(QString myName, QString fileName):QPixmap(fileName)
{
    name = myName;
    if(!name.isEmpty());
        qDebug()<<  name << "has been created !";
}

CustomPixmap::~CustomPixmap()
{
    if(!name.isEmpty());
        qDebug() << name << "has been deleted ";
}
